package com.why.simpleboot.core.extend;

import com.why.simpleboot.core.core.ApplicationContext;

import java.util.List;

/**
 * @program: why-simpleboot-framework
 * @description:
 * @author: @why
 * @create: 2021-06-15 15:22
 **/
public interface ImportBeforeBeanRegistrar {

    /**
     * 向工厂中注册一些bean
     * @param applicationContext
     * @param scanPackages
     * @param mainClass
     */
    void registerBeans(ApplicationContext applicationContext, List<String> scanPackages, Class<?> mainClass);
}
